<div class="main-box" [ngClass]="{'main-box-100vw': cssType==='1'}" [ngStyle]="boxCssStyle | styleFilter">
  <ng-container *ngIf="cssType==='0'">
    <div [ngClass]="{'hideTag': checkVideo!==true,'showTag':checkVideo===true}">
      <app-hivideo [videoSrc]="videoSrc" [cssStyle]="videoCssStyle"></app-hivideo>
    </div>
    <app-slides-imgage [type]=0 *ngIf="checkImage" [tagData]="imgTagData" [autoPlay]="this.tagData.data[0].autoPlay">
    </app-slides-imgage>
    <div id="toggle-btn-fwvideo" class="toggle-btn" *ngIf="isShowBtn">
      <div class="nav-toggle-bg">
        <div class="toggle-left" [ngClass]="{'toggle-check': checkVideo}" appDebounceClick (debounceClick)="toggle({}, 0)">视频</div>
        <div class="toggle-right" [ngClass]="{'toggle-check': checkImage}" appDebounceClick (debounceClick)="toggle({}, 1)">图片
        </div>
      </div>
    </div>
  </ng-container>
  <ng-container *ngIf="cssType==='1'">

    <app-slides-imgage [tagData]="imgTagData" [type]=1 [videoSrc]="videoSrc" [autoPlay]="this.tagData.data[0].autoPlay"
      [link]="this.tagData.data[0].link" [updateLink]="updateVideo">
    </app-slides-imgage>
  </ng-container>
</div>